/**
 * com.cnhis.his.customer.mapper.Bdi1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bdi1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bdi1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-10-24 09:44:13
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bdi1 extends BaseVO implements java.io.Serializable{

	private java.lang.String bdi01;
	private java.lang.String bdi02;
	private java.lang.String bdi03;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.Integer bdi06;
	private java.lang.Integer bdi07;
	private java.lang.String bdi08;
	private java.lang.String bdi09;
	private java.lang.Byte bdi10;
	private java.lang.Integer rownr;
	private java.lang.Byte bdi12;
	private java.lang.Byte acf01;
	
	private java.lang.String nbdi08;
	
	public java.lang.String getNbdi08() {
		return nbdi08;
	}

	public void setNbdi08(java.lang.String nbdi08) {
		this.nbdi08 = nbdi08;
	}

	public Bdi1(){
	}

	public Bdi1(
		java.lang.String bdi01
	){
		this.bdi01 = bdi01;
	}



	public void setBdi01(java.lang.String value) {
		this.bdi01 = value;
	}	
	public java.lang.String getBdi01() {
		return this.bdi01;
	}

	public void setBdi02(java.lang.String value) {
		this.bdi02 = value;
	}	
	public java.lang.String getBdi02() {
		return this.bdi02;
	}

	public void setBdi03(java.lang.String value) {
		this.bdi03 = value;
	}	
	public java.lang.String getBdi03() {
		return this.bdi03;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setBdi06(java.lang.Integer value) {
		this.bdi06 = value;
	}	
	public java.lang.Integer getBdi06() {
		return this.bdi06;
	}

	public void setBdi07(java.lang.Integer value) {
		this.bdi07 = value;
	}	
	public java.lang.Integer getBdi07() {
		return this.bdi07;
	}

	public void setBdi08(java.lang.String value) {
		this.bdi08 = value;
	}	
	public java.lang.String getBdi08() {
		return this.bdi08;
	}

	public void setBdi09(java.lang.String value) {
		this.bdi09 = value;
	}	
	public java.lang.String getBdi09() {
		return this.bdi09;
	}

	public void setBdi10(java.lang.Byte value) {
		this.bdi10 = value;
	}	
	public java.lang.Byte getBdi10() {
		return this.bdi10;
	}

	public void setRownr(java.lang.Integer value) {
		this.rownr = value;
	}	
	public java.lang.Integer getRownr() {
		return this.rownr;
	}

	public void setBdi12(java.lang.Byte value) {
		this.bdi12 = value;
	}	
	public java.lang.Byte getBdi12() {
		return this.bdi12;
	}

	public void setAcf01(java.lang.Byte value) {
		this.acf01 = value;
	}	
	public java.lang.Byte getAcf01() {
		return this.acf01;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bdi01").append("='").append(getBdi01()).append("' ");	
			   buffer.append("Bdi02").append("='").append(getBdi02()).append("' ");	
			   buffer.append("Bdi03").append("='").append(getBdi03()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Bdi06").append("='").append(getBdi06()).append("' ");	
			   buffer.append("Bdi07").append("='").append(getBdi07()).append("' ");	
			   buffer.append("Bdi08").append("='").append(getBdi08()).append("' ");	
			   buffer.append("Bdi09").append("='").append(getBdi09()).append("' ");	
			   buffer.append("Bdi10").append("='").append(getBdi10()).append("' ");	
			   buffer.append("Rownr").append("='").append(getRownr()).append("' ");	
			   buffer.append("Bdi12").append("='").append(getBdi12()).append("' ");	
			   buffer.append("Acf01").append("='").append(getAcf01()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bdi1) ) return false;
		 Bdi1  castOther = ( Bdi1) other;  
		 return 
					( (this.getBdi01()==castOther.getBdi01()) ||( this.getBdi01()!=null && castOther.getBdi01()!=null && this.getBdi01().equals(castOther.getBdi01()) ) )
					&&( (this.getBdi02()==castOther.getBdi02()) ||( this.getBdi02()!=null && castOther.getBdi02()!=null && this.getBdi02().equals(castOther.getBdi02()) ) )
					&&( (this.getBdi03()==castOther.getBdi03()) ||( this.getBdi03()!=null && castOther.getBdi03()!=null && this.getBdi03().equals(castOther.getBdi03()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getBdi06()==castOther.getBdi06()) ||( this.getBdi06()!=null && castOther.getBdi06()!=null && this.getBdi06().equals(castOther.getBdi06()) ) )
					&&( (this.getBdi07()==castOther.getBdi07()) ||( this.getBdi07()!=null && castOther.getBdi07()!=null && this.getBdi07().equals(castOther.getBdi07()) ) )
					&&( (this.getBdi08()==castOther.getBdi08()) ||( this.getBdi08()!=null && castOther.getBdi08()!=null && this.getBdi08().equals(castOther.getBdi08()) ) )
					&&( (this.getBdi09()==castOther.getBdi09()) ||( this.getBdi09()!=null && castOther.getBdi09()!=null && this.getBdi09().equals(castOther.getBdi09()) ) )
					&&( (this.getBdi10()==castOther.getBdi10()) ||( this.getBdi10()!=null && castOther.getBdi10()!=null && this.getBdi10().equals(castOther.getBdi10()) ) )
					&&( (this.getRownr()==castOther.getRownr()) ||( this.getRownr()!=null && castOther.getRownr()!=null && this.getRownr().equals(castOther.getRownr()) ) )
					&&( (this.getBdi12()==castOther.getBdi12()) ||( this.getBdi12()!=null && castOther.getBdi12()!=null && this.getBdi12().equals(castOther.getBdi12()) ) )
					&&( (this.getAcf01()==castOther.getAcf01()) ||( this.getAcf01()!=null && castOther.getAcf01()!=null && this.getAcf01().equals(castOther.getAcf01()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBdi01() == null ? 0 : this.getBdi01().hashCode() );
				  result = 37 * result + (getBdi02() == null ? 0 : this.getBdi02().hashCode() );
				  result = 37 * result + (getBdi03() == null ? 0 : this.getBdi03().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getBdi06() == null ? 0 : this.getBdi06().hashCode() );
				  result = 37 * result + (getBdi07() == null ? 0 : this.getBdi07().hashCode() );
				  result = 37 * result + (getBdi08() == null ? 0 : this.getBdi08().hashCode() );
				  result = 37 * result + (getBdi09() == null ? 0 : this.getBdi09().hashCode() );
				  result = 37 * result + (getBdi10() == null ? 0 : this.getBdi10().hashCode() );
				  result = 37 * result + (getRownr() == null ? 0 : this.getRownr().hashCode() );
				  result = 37 * result + (getBdi12() == null ? 0 : this.getBdi12().hashCode() );
				  result = 37 * result + (getAcf01() == null ? 0 : this.getAcf01().hashCode() );
         return result;
	} 
	
}
